var Date1 = new Date();

var year = Date1.getFullYear();

var month = Date1.getMonth() +1;

var date = Date1.getDate();

console.log(year+"年"+month+"月"+date+'日');